return xencomm_arch_hypercall_suspend(xencomm_create_inline(&arg));
}
-#if defined(CONFIG_OPROFILE) || defined(CONFIG_OPROFILE_MODULE)
int
xencomm_hypercall_xenoprof_op(int op, void *arg)
{
return xencomm_arch_hypercall_xenoprof_op(op,
xencomm_create_inline(arg));
}
-#endif
-#ifdef CONFIG_PERFMON
int
xencomm_hypercall_perfmon_op(unsigned long cmd, void* arg, unsigned long count)
{
xencomm_create_inline(arg),
count);
}
-#endif
}
EXPORT_SYMBOL(xencomm_mini_hypercall_xen_version);
-#if defined(CONFIG_OPROFILE) || defined(CONFIG_OPROFILE_MODULE)
int
xencomm_mini_hypercall_xenoprof_op(int op, void *arg)
{
return xencomm_arch_hypercall_xenoprof_op(op, desc);
}
EXPORT_SYMBOL_GPL(xencomm_mini_hypercall_xenoprof_op);
-#endif
-#ifdef CONFIG_PERFMON
int
xencomm_mini_hypercall_perfmon_op(unsigned long cmd, void* arg,
unsigned long count)
return xencomm_arch_hypercall_perfmon_op(cmd, desc, count);
}
EXPORT_SYMBOL_GPL(xencomm_mini_hypercall_perfmon_op);
-#endif
}
#endif
-#ifdef CONFIG_PERFMON
static inline int
xencomm_arch_hypercall_perfmon_op(unsigned long cmd,
struct xencomm_handle *arg,
return _hypercall4(int, ia64_dom0vp_op,
IA64_DOM0VP_perfmon, cmd, arg, count);
}
-#endif
// for balloon driver
#define HYPERVISOR_update_va_mapping(va, new_val, flags) (0)
extern int xencomm_hypercall_suspend(unsigned long srec);
-#if defined(CONFIG_OPROFILE) || defined(CONFIG_OPROFILE_MODULE)
extern int xencomm_hypercall_xenoprof_op(int op, void *arg);
-#endif
-#ifdef CONFIG_PERFMON
extern int xencomm_hypercall_perfmon_op(unsigned long cmd, void* arg,
unsigned long count);
-#endif
/* Using mini xencomm. */
extern int xencomm_mini_hypercall_console_io(int cmd, int count, char *str);
extern unsigned long xencomm_mini_hypercall_hvm_op(int cmd, void *arg);
-#if defined(CONFIG_OPROFILE) || defined(CONFIG_OPROFILE_MODULE)
extern int xencomm_mini_hypercall_xenoprof_op(int op, void *arg);
-#endif
-#ifdef CONFIG_PERFMON
extern int xencomm_mini_hypercall_perfmon_op(unsigned long cmd, void* arg,
unsigned long count);
-#endif
/* For privcmd. Locally declare argument type to avoid include storm.
Type coherency will be checked within privcmd.c */